package cn.glenn._02notice.mapper;

import cn.glenn._02notice.pojo.dto.NoticeAddParam;
import cn.glenn._02notice.pojo.dto.NoticeAddQuery;
import cn.glenn._02notice.pojo.dto.NoticeUpdateParam;
import cn.glenn._02notice.pojo.enity.Notice;
import cn.glenn._02notice.pojo.vo.NoticeDetailInfoVO;
import cn.glenn._02notice.pojo.vo.NoticeListVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface NoticeMapper {
    int insertNotice(Notice notice);
    List<NoticeListVO> selectNotice(NoticeAddQuery noticeAddQuery);
    NoticeDetailInfoVO selectNoticeDetail(Long id);
    int deleteNoticeById(Long id);
    int updateNoticeContent(Notice notice);
}
